package com.salton123.charging.media;

/**
 * User: newSalton@outlook.com
 * Date: 2019/3/8 18:34
 * ModifyTime: 18:34
 * Description:
 */
public interface IPlayer {
    IPlayer path(String url);

    IPlayer start();

    IPlayer pause();

    IPlayer resume();

    IPlayer stop();

    IPlayer seekTo(int duration);

    IPlayer release();

    IPlayer setOnPlayerStateChangeListener(VideoPlayerHelper.OnPlayerStateChangeListener listener);
}
